package com.sskj.market.bean;

/**
 * @author :budou
 * Package :com.sskj.market.bean
 * Date :2019/7/30 17:00
 * Describe :创建订单bean
 * Remark :
 */
public class CreateOrderBean {


    /**
     * code : 200
     * data : {"uid":348,"product_id":4,"total_price":200,"total_num":"1","address_id":"12","address_name":App.INSTANCE.getString(R.string.market_createOrderBean1),"address_phone":"13598265489","address_detail":App.INSTANCE.getString(R.string.market_createOrderBean2),"remark":App.INSTANCE.getString(R.string.market_createOrderBean3),"status":1,"updated_at":"2019-07-31 11:39:39","created_at":"2019-07-31 11:39:39","id":56,"sn":"ON20190731113939565900"}
     * msg : 订单创建成功
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * uid : 348
         * product_id : 4
         * total_price : 200
         * total_num : 1
         * address_id : 12
         * address_name : 我老了
         * address_phone : 13598265489
         * address_detail : 河南省 郑州市 金水区 河南省
         * remark : 撒发放
         * status : 1
         * updated_at : 2019-07-31 11:39:39
         * created_at : 2019-07-31 11:39:39
         * id : 56
         * sn : ON20190731113939565900
         */

        private int uid;
        private int product_id;
        private int total_price;
        private String total_num;
        private String address_id;
        private String address_name;
        private String address_phone;
        private String address_detail;
        private String remark;
        private int status;
        private String updated_at;
        private String created_at;
        private int id;
        private String sn;

        public int getUid() {
            return uid;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public int getProduct_id() {
            return product_id;
        }

        public void setProduct_id(int product_id) {
            this.product_id = product_id;
        }

        public int getTotal_price() {
            return total_price;
        }

        public void setTotal_price(int total_price) {
            this.total_price = total_price;
        }

        public String getTotal_num() {
            return total_num;
        }

        public void setTotal_num(String total_num) {
            this.total_num = total_num;
        }

        public String getAddress_id() {
            return address_id;
        }

        public void setAddress_id(String address_id) {
            this.address_id = address_id;
        }

        public String getAddress_name() {
            return address_name;
        }

        public void setAddress_name(String address_name) {
            this.address_name = address_name;
        }

        public String getAddress_phone() {
            return address_phone;
        }

        public void setAddress_phone(String address_phone) {
            this.address_phone = address_phone;
        }

        public String getAddress_detail() {
            return address_detail;
        }

        public void setAddress_detail(String address_detail) {
            this.address_detail = address_detail;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(String updated_at) {
            this.updated_at = updated_at;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getSn() {
            return sn;
        }

        public void setSn(String sn) {
            this.sn = sn;
        }
    }
}
